package com.ydh.company.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.sql.Timestamp;

public class OrderDetails implements Serializable {

  @ApiModelProperty(name="orderDetailsId",notes = "订单详情表id",dataType = "String",required =true)
  private String orderDetailsId;
  @ApiModelProperty(name="goodsId",notes = "商品id",dataType = "String",required =true)
  private String goodsId;
  @ApiModelProperty(name="notes",notes = "备注",dataType = "String",required =true)
  private String notes;
  @ApiModelProperty(name="repositoryId",notes = "发货仓库id",dataType = "String",required =true)
  private String repositoryId;
  @ApiModelProperty(name="clientId",notes = "客户信息id",dataType = "String",required =true)
  private String clientId;
  @ApiModelProperty(name="orderMainId",notes = "订单主表id",dataType = "String",required =true)
  private String orderMainId;
  @ApiModelProperty(name="goodsNum",notes = "商品数量",dataType = "int",required =true)
  private int goodsNum;
/////////////////////
  @ApiModelProperty(name="deliveryTime",notes = "发货时间",dataType = "datetime",required =true)
  @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss",locale = "zh",timezone = "GMT+8")
  private Timestamp deliveryTime;
  @ApiModelProperty(name="deliveryNumber",notes = "已发货数量",dataType = "int",required =true)
  private int deliveryNumber;
  @ApiModelProperty(name="deliveryAmount",notes = "已发货商品金额",dataType = "double",required =true)
  private double deliveryAmount;

  public OrderDetails() {
  }

  public Timestamp getDeliveryTime() {
    return deliveryTime;
  }

  public void setDeliveryTime(Timestamp deliveryTime) {
    this.deliveryTime = deliveryTime;
  }

  public int getDeliveryNumber() {
    return deliveryNumber;
  }

  public void setDeliveryNumber(int deliveryNumber) {
    this.deliveryNumber = deliveryNumber;
  }

  public double getDeliveryAmount() {
    return deliveryAmount;
  }

  public void setDeliveryAmount(double deliveryAmount) {
    this.deliveryAmount = deliveryAmount;
  }

  public int getGoodsNum() {
    return goodsNum;
  }

  public void setGoodsNum(int goodsNum) {
    this.goodsNum = goodsNum;
  }

  public String getOrderDetailsId() {
    return orderDetailsId;
  }

  public void setOrderDetailsId(String orderDetailsId) {
    this.orderDetailsId = orderDetailsId;
  }


  public String getGoodsId() {
    return goodsId;
  }

  public void setGoodsId(String goodsId) {
    this.goodsId = goodsId;
  }


  public String getNotes() {
    return notes;
  }

  public void setNotes(String notes) {
    this.notes = notes;
  }


  public String getRepositoryId() {
    return repositoryId;
  }

  public void setRepositoryId(String repositoryId) {
    this.repositoryId = repositoryId;
  }


  public String getClientId() {
    return clientId;
  }

  public void setClientId(String clientId) {
    this.clientId = clientId;
  }

  public String getOrderMainId() {
    return orderMainId;
  }

  public void setOrderMainId(String orderMainId) {
    this.orderMainId = orderMainId;
  }
}
